'use strict';
export const process_env = import.meta.env || {};

export const VITE_PLATFORM = process_env.VITE_PLATFORM || ''; //平台环境
export const VITE_PLATFORM_ENV = process_env.VITE_PLATFORM_ENV || ''; // 平台运行环境
export const VITE_USER_NODE_ENV = process_env.VITE_USER_NODE_ENV || ''; //node运行环境

export const IS_DEV = VITE_PLATFORM_ENV === "dev"; // 本地环境
export const IS_TRIAL = VITE_PLATFORM_ENV === "trial"; // 测试环境
export const IS_RELEASE = VITE_PLATFORM_ENV === "release"; // 正式环境
export const IS_TRIAL_DEV = IS_DEV || IS_TRIAL || false; // 测试环境+本地环境

//域名配置
export const VITE_BASE_API = process_env.VITE_BASE_API || ''; //接口域名
export const VITE_SHOP_API = process_env.VITE_SHOP_API || ''; //商城域名
